package com.ssy.lingxi.member.merchant.model.vo.validate.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;
import java.util.List;

/**
 * 会员审核时，修改会员菜单权限关联的按钮接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-08-11
 */
public class MemberValidateUpdateAuthButtonVO implements Serializable {
    private static final long serialVersionUID = 4354770874373968933L;

    /**
     * 会员Id
     */
    @NotNull(message = "会员id要大于0")
    @Positive(message = "会员id要大于0")
    private Long memberId;

    /**
     * 审核内容Id
     */
    @NotNull(message = "审核内容Id要大于0")
    @Positive(message = "审核内容Id要大于0")
    private Long validateId;

    /**
     * 勾选的左侧菜单的Id
     */
    @NotNull(message = "菜单Id要大于0")
    @Positive(message = "菜单Id要大于0")
    private Long menuId;

    /**
     * 勾选的右侧按钮的Id列表
     */
    private List<Long> buttonIds;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getValidateId() {
        return validateId;
    }

    public void setValidateId(Long validateId) {
        this.validateId = validateId;
    }

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    public List<Long> getButtonIds() {
        return buttonIds;
    }

    public void setButtonIds(List<Long> buttonIds) {
        this.buttonIds = buttonIds;
    }
}
